import request from '@/utils/request'
//上传图片
export function uploadImage(data) {
  return request({
    url: '/api/uploads/uploadImage',
    method: 'post',
    data
  })
}
//上传媒体文件
export function uploadMedium(data) {
  return request({
    url: '/api/uploads/uploadMedium',
    method: 'post',
    data
  })
}
